﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WFFS
{
    public partial class FrmPass : Form
    {
        public FrmPass()
        {
            InitializeComponent();
        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            timerClose.Stop();
            this.DialogResult = DialogResult.OK;
            this.Hide();
        }

        private void timerClose_Tick(object sender, EventArgs e)
        {
            timerClose.Stop();
            this.DialogResult = DialogResult.OK;
            this.Hide();
        }

        private void FrmPass_Load(object sender, EventArgs e)
        {   
            timerClose.Start();
        }
    }
}
